package com.dormitory.management.system.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel( description = "User实体类")
public class UserResp implements Serializable {

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("账号")
    private String username;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("创建时间")
    private String gmt_create;

    @ApiModelProperty("修改时间")
    private String gmt_modified;

    @ApiModelProperty("状态（0：正常，1：禁用）")
    private String status_id;

    @ApiModelProperty("排序")
    private String sort;

    @ApiModelProperty(value = "角色昵称")
    private String roleName;
//    @ApiModelProperty("权限")
//    private String roles;
//    @ApiModelProperty("个人介绍")
//    private String introduction;
//    @ApiModelProperty("用户名")
//    private String name;
}
